home *** CD-ROM | disk | FTP | other *** search
- (This file and the shared library code is by Kevin Haddock)
-
-
- Linux shared library calls for Portable Forth Environment.
- ==========================================================
-
- To use:
-
- 1. Copy the perl program 'np' (Name Parse) into your path
- (/usr/local/bin?).
-
- 2. Parse one of the shared library stub file's symbol table to
- a Forth include file (i.e.):
-
- np /usr/lib/libc.sa >libc.4
-
- 3. Include the library defining words from library.4.
-
- 4. Optionally define a wordlist to create the library calls in:
-
- VOCABULARY SYS SYS DEFINITIONS
-
- 5. Include the library calls:
-
- INCLUDE libc.4
-
- 6. Compile your program which must include a 'uselib' call to map
- in the appropriate shared library at run time:
-
- : INITIALIZE " /lib/libc.so.4" USELIB ;
-
- 7. See sysdep.h for control word configuration.
-
-
- NOTE:
-
- Floating point calls are not thoroughly tested.
-